﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace HF.WorkFlow.DataContract
{
    /// <summary>
    /// 实体类AccreditUserEntity 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [DataContract]
    public class AccreditUserEntity
    {
        #region Entity
        /// <summary>
        /// 授权Id
        /// </summary>
        [DataMember]
        public string AccreditId { get; set; }
        /// <summary>
        /// 授权人
        /// </summary>
        [DataMember]
        public string AccreditFromUserId { get; set; }
        /// <summary>
        /// 被授权人
        /// </summary>
        [DataMember]
        public string AccreditToUserId { get; set; }
        /// <summary>
        /// 授权时间
        /// </summary>
        [DataMember]
        public DateTime AccreditDateTime { get; set; }
        /// <summary>
        /// 授权状态
        /// </summary>
        [DataMember]
        public char AccreditStatus { get; set; }
        /// <summary>
        /// 流程Id
        /// </summary>
        [DataMember]
        public string WorkFlowId { get; set; }
        /// <summary>
        /// 任务Id
        /// </summary>
        [DataMember]
        public string WorkTaskId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DataMember]
        public string Description { get; set; }

         /// <summary>
        /// 代理人名称
        /// </summary>
        [DataMember]
        public string AccreditFromName { get; set; }

        /// <summary>
        /// 被代理人名称
        /// </summary>
        [DataMember]
        public string AccreditToName { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        [DataMember]
        public DateTime AcceditStartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        [DataMember]
        public DateTime AcceditEndTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [DataMember]
        public string AccreditName { get; set; }



        /// <summary>
        /// 取消代理时间
        /// </summary>
        [DataMember]
        public DateTime AcceditCancelTime { get; set; }
        ///// <summary>
        ///// 流程状态
        ///// </summary>
        //[DataMember]
        //public string AccreditfStatus { get; set; }

        ///// <summary>
        ///// 代理创建
        ///// </summary>
        //[DataMember]
        //public char AccreditEstablish { get; set; }

        /// <summary>
        /// 待办事宜
        /// </summary>
        [DataMember]
        public char AccreditMatters { get; set; }
        
        #endregion Entity

    }
}

